package com.cnswhy.cloud.server.core.dto;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.cnswhy.cloud.common.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.cnswhy.cloud.server.common.entity.enumeration.BusType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 
 * </p>
 *
 * @author cnswhy
 * @since 2021-02-24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "SplitTransRecordPageDTO", description = "")
public class SplitTransRecordPageDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 业务类型
     */
    @ApiModelProperty(value = "业务类型")
    @NotEmpty(message = "业务类型不能为空")
    @Length(max = 32, message = "业务类型长度不能超过32")
    private BusType busType;
    /**
     * 分成级别
     */
    @ApiModelProperty(value = "分成级别")
    private Integer splitLevel;
    /**
     * 成本手续费
     */
    @ApiModelProperty(value = "成本手续费")
    private Long externFee;
    /**
     * 成本费率
     */
    @ApiModelProperty(value = "成本费率")
    private Long feeRate;
    /**
     * 订单号
     */
    @ApiModelProperty(value = "订单号")
    @Length(max = 32, message = "订单号长度不能超过32")
    private String orderId;
    /**
     * 交易费率
     */
    @ApiModelProperty(value = "交易费率")
    private Long transFeeRate;
    /**
     * 交易附加手续费
     */
    @ApiModelProperty(value = "交易附加手续费")
    private Long transExternFee;
    /**
     * 交易客户
     */
    @ApiModelProperty(value = "交易客户")
    private Long customerId;
    /**
     * 分成客户
     */
    @ApiModelProperty(value = "分成客户")
    private Long splitCustomerId;
    /**
     * 手续费分成
     */
    @ApiModelProperty(value = "手续费分成")
    private Long splitFee;
    /**
     * 附加手续费分成
     */
    @ApiModelProperty(value = "附加手续费分成")
    private Long splitExternFee;
    /**
     * 总分成
     */
    @ApiModelProperty(value = "总分成")
    private Long splitAmt;
    /**
     * 交易金额
     */
    @ApiModelProperty(value = "交易金额")
    private Long transAmt;
    /**
     * 入账标志
     */
    @ApiModelProperty(value = "入账标志")
    private Integer accountFlag;
    /**
     * 登录账号
     */
    @ApiModelProperty(value = "登录账号")
    @Length(max = 255, message = "登录账号长度不能超过255")
    private String mobile;
    /**
     * 清算日期
     */
    @ApiModelProperty(value = "清算日期")
    @Length(max = 8, message = "清算日期长度不能超过8")
    private String settDate;
    /**
     * 分账账号
     */
    @ApiModelProperty(value = "分账账号")
    @Length(max = 255, message = "分账账号长度不能超过255")
    private String promoterMobile;
    /**
     * 交易客户
     */
    @ApiModelProperty(value = "交易客户")
    @Length(max = 255, message = "交易客户长度不能超过255")
    private String custName;
    /**
     * 分账客户
     */
    @ApiModelProperty(value = "分账客户")
    @Length(max = 255, message = "分账客户长度不能超过255")
    private String promoterName;

}
